<?php
/**
 * User DB table abstraction.
 *
 * @category Zend
 * @package User
 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc.
 * @version $Id$
 * @link http://framework.zend.com
 * @since Available since release 1.0
 * @license GPL v3
 */

class Application_Model_DbTable_User extends Zend_Db_Table_Abstract
{
    protected $_name = 'user';
    protected $_primary = 'userId';
    
    protected $_cols = array(
        'userId',
        'userName',
        'password',
        'passwordSalt',
        'isAdmin'
    );
    
    protected $_dependentTables = array(
        'UserInfo',
        'Dispute'
    );
    
    public function getCols()
    {
        return $this->_cols;
    }
}

